package pers.xx.sbm.service.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import pers.xx.sbm.dao.JfFileMapper;
import pers.xx.sbm.entity.JfFile;
import pers.xx.sbm.service.JfFileService;

import java.util.List;

/**
 * @author ：xiexing
 * @description：教辅文件接口实现类
 * @date ：2021/2/8 10:09
 */
@Repository
public class JfFileServiceImpl extends BaseServiceImpl implements JfFileService {
    JfFileMapper jfFileMapper;

    /**
     * @description 教辅文件调查
     * @author XieXing
     * @date 2021/2/8 10:18
     */
    public JfFileServiceImpl(@Autowired JfFileMapper jfFileMapper) {
        super.dao = jfFileMapper;
        this.jfFileMapper = jfFileMapper;
    }

    /**
     * @description 根据填报id获取
     * @author XieXing
     * @date 2021/2/8 10:22
     */
    @Override
    public List<JfFile> getJfFilesById(String id) {
        return jfFileMapper.getJfFilesById(id);
    }
}
